using System.Collections.Generic;

namespace System.DataStructures
{
	/// <summary>
	/// Extension methods for an ISet{T}.
	/// </summary>
	/// <remarks></remarks>
	internal static class SetExtensions
	{
		/// <summary>
		/// Gets all possible subsets of the specified set.
		/// </summary>
		/// <typeparam name="T"></typeparam>
		/// <param name="set">The set.</param>
		/// <returns></returns>
		/// <remarks></remarks>
		public static IEnumerable<ISetEx<T>> GetPowerSet<T>(ISetEx<T> set)
		{
			throw new NotImplementedException();
		}

		/// <summary>
		/// Determines whether the specified set is empty.
		/// </summary>
		/// <typeparam name="T"></typeparam>
		/// <param name="set">The set.</param>
		/// <returns><c>true</c> if the specified set is empty; otherwise, <c>false</c>.</returns>
		/// <remarks></remarks>
		public static bool IsEmpty<T>(this ISet<T> set)
		{
			return set.Count == 0;
		}
	}
}